package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormCashDeposit;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormCashDeposit;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 流程表单-供应商入围-保证金确认 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface WFlowFormCashDepositService extends IService<WFlowFormCashDeposit> {

	/**
	 * 确认保证金列表初始化查询
	 * @param param
	 * @return
	 */
	List<ExtWFlowFormCashDeposit> selectDepositConfirmBidCandidateUnitList(Map<String, Object> param);
	List<ExtWFlowFormCashDeposit> getExtByFormId(String formId);
	void updateRefundStatus(String id,Integer status);
	
	/**
	 * 确认保证金列表查询接口
	 * @param param
	 * @return
	 */
	List<ExtWFlowFormCashDeposit> selectDepositConfirmBidList(Map<String, Object> param);
	
	ExtWFlowFormCashDeposit getExtByFormIdAndSupplierId(String formId, String supplierId);

}
